import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'
import interceptor from './interceptor'

const routes: RouteRecordRaw[] = [
    {
        path: "/test",
        component: () => import( /*'haha'*/ '@/views/Test/index.vue')
    }
]

const router = createRouter({
    routes,
    history: createWebHistory()
})

interceptor(router)
export default router